package com.itjeffrey.autocode.bo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 实体类
 * @author: admin
 * @date: 2021-03-28 12:26:46
 */
public class RoleInfoTbBO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
    private Integer roleId;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 角色描述
     */
    private String roleDesc;

    /**
     * 扩展字段1
     */
    private String extData1;

    /**
     * 扩展字段2
     */
    private String extData2;

    /**
     * 扩展字段3
     */
    private String extData3;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否启用
     */
    private boolean enabled;

    /**
     * 多个资源
     */
    private List<ResInfoTbBO> resInfoTbBOS;

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public void setRoleId(Integer roleId){
        this.roleId = roleId;
    }

    public Integer getRoleId(){
        return this.roleId;
    }

    public void setRoleName(String roleName){
        this.roleName = roleName;
    }

    public String getRoleName(){
        return this.roleName;
    }

    public void setRoleDesc(String roleDesc){
        this.roleDesc = roleDesc;
    }

    public String getRoleDesc(){
        return this.roleDesc;
    }

    public void setExtData1(String extData1){
        this.extData1 = extData1;
    }

    public String getExtData1(){
        return this.extData1;
    }

    public void setExtData2(String extData2){
        this.extData2 = extData2;
    }

    public String getExtData2(){
        return this.extData2;
    }

    public void setExtData3(String extData3){
        this.extData3 = extData3;
    }

    public String getExtData3(){
        return this.extData3;
    }

    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }

    public Date getCreateTime(){
        return this.createTime;
    }

    public void setUpdateTime(Date updateTime){
        this.updateTime = updateTime;
    }

    public Date getUpdateTime(){
        return this.updateTime;
    }

    public List<ResInfoTbBO> getResInfoTbEntities() {
        return resInfoTbBOS;
    }

    public void setResInfoTbEntities(List<ResInfoTbBO> resInfoTbEntities) {
        this.resInfoTbBOS = resInfoTbEntities;
    }

    @Override
    public String toString() {
        return "RoleInfoTbBO{" +
                "roleId=" + roleId +
                ", roleName='" + roleName + '\'' +
                ", roleDesc='" + roleDesc + '\'' +
                ", extData1='" + extData1 + '\'' +
                ", extData2='" + extData2 + '\'' +
                ", extData3='" + extData3 + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", enabled=" + enabled +
                ", resInfoTbBOS=" + resInfoTbBOS +
                '}';
    }
}